
#MYSQL主从数据库基本配置

#主库配置
MASTER_DB_HOST = '192.168.246.7'
MASTER_DB_PORT = 3306
MASTER_DB_USER = 'root'
MASTER_DB_PASS_WORD = '123456'
MASTER_DB_NAME = 'projectDB'
#从库配置
SLAVE_DB_HOST = '192.168.246.7'
SLAVE_DB_PORT = 3307
SLAVE_DB_USER = 'root'
SLAVE_DB_PASS_WORD = '123456'
SLAVE_DB_NAME = 'projectDB'

#Redis基本配置
REDIS_DB_HOST = '192.168.246.7'
REDIS_DB_PORT = 6379
REDIS_DB_PASS_WORD = '123456'

#要开启的线程池
MASTER_DB_POOL = True
SLAVE_DB_POOL = True
REDIS_DB_POOL = True

